<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>雪碧图</title>

    <style>
        div {
            width: 111px;
            height: 111px;
            float: left;

        }

        .d1 {
            background: url(./img/abcd.jpg) no-repeat -367px -556px;
        }

        .d2 {
            background: url(./img/abcd.jpg) no-repeat -480px -558px;
        }

        .d3 {
            background: url(./img/abcd.jpg) no-repeat -210px -140px;
        }
    </style>

</head>

<body>
    <div class="d1"></div>
    <div class="d2"></div>
    <div class="d3"></div>
</body>

</html>